Skip to content

Instantly share code, notes, and snippets.

@linderd
linderd / README.md
Last active October 24, 2026 23:00 — forked from timlinux/README.md
Linux on Thinkpad P14s Gen2 AMD / T14 Gen2 AMD

Linux (Fedora 35) on a Thinkpad P14s [T14] Gen2 AMD

These are my installation-tricks and notes for running Linux on a 2021 Thinkpad P14s Gen2 with AMD Ryzen 7 5850U. It should also be suitable for the Thinkpad T14 Gen2 AMD as they are technically the same modell.
Meanwhile there is also a good test on youtube and an entry in the arch-wiki, which also comments some points mentioned here.

Detailed specs

Shipped:

Using Google's generative APIs: lessons learned

Basics

  • The API key wasn't in the shell environment. It lives in ~/.Renviron, so the scripts fall back to reading GOOGLE_API_KEY from there.
  • Find model IDs by listing them, not by guessing marketing names: GET https://generativelanguage.googleapis.com/v1beta/models?pageSize=200 (the displayName field maps the two). The ones used:

LLM Wiki

A pattern for building personal knowledge bases using LLMs.

This is an idea file, it is designed to be copy pasted to your own LLM Agent (e.g. OpenAI Codex, Claude Code, OpenCode / Pi, or etc.). Its goal is to communicate the high level idea, but your agent will build out the specifics in collaboration with you.

The core idea

Most people's experience with LLMs and documents looks like RAG: you upload a collection of files, the LLM retrieves relevant chunks at query time, and generates an answer. This works, but the LLM is rediscovering knowledge from scratch on every question. There's no accumulation. Ask a subtle question that requires synthesizing five documents, and the LLM has to find and piece together the relevant fragments every time. Nothing is built up. NotebookLM, ChatGPT file uploads, and most RAG systems work this way.

@gabrielmaialva33
gabrielmaialva33 / README.md
Last active October 24, 2026 22:54
The Witcher 3 5.0 on Proton/Linux: re-enable DLSS, DLSS-G and ray tracing (wine_get_version check patch)

The Witcher 3 5.0 on Proton: re-enable DLSS, DLSS-G and ray tracing

game 5.01 NVIDIA AMD Proton

An unofficial workaround until CD PROJEKT RED or Valve fix this properly. As soon as the 5.0 executable sees Wine, it turns off Streamline (DLSS SR/RR, DLSS-G, Reflex), ray tracing, path tracing and FSR frame generation. Everything here brings them back.

Important

The exe patch script supports only bin/x64_dx12/witcher3.exe 5.0.0.1048522 (patch 5.01, 2026-10-08, Steam build 25773555, sha256 2df76539…b101), 5.0.0.1044392 (the 2026-10-01 5.00c hotfix, Steam build 25

@lanceliao
lanceliao / wg-client1.conf
Last active October 24, 2026 22:51
Sample WireGuard configuration files
[Interface]
Address = 10.200.200.3/32
PrivateKey = [Client's private key]
DNS = 8.8.8.8
[Peer]
PublicKey = [Server's public key]
PresharedKey = [Pre-shared key, same for server and client]
Endpoint = [Server Addr:Server Port]
AllowedIPs = 0.0.0.0/0
@veekaybee
veekaybee / normcore-llm.md
Last active October 24, 2026 22:49
Normcore LLM Reads

Anti-hype LLM reading list

Goals: Add links that are reasonable and good explanations of how stuff works. No hype and no vendor content if possible. Practical first-hand accounts of models in prod eagerly sought.

Foundational Concepts

Screenshot 2023-12-18 at 10 40 27 PM

Pre-Transformer Models

@turicas
turicas / README.md
Created October 22, 2026 15:27
Cria VM isolada usando Incus para rodar Claude Code, no Debian

VM isolada para Claude Code com Incus

1. Introdução

Objetivo

Rodar o Claude Code em uma VM Debian 13 ("isolated") dentro do host (Debian + Incus) de forma que:

  • A VM tenha Internet (API da Anthropic, APT, Docker Hub, PyPI, GitHub para clonar), mas não alcance o host nem outras máquinas na rede local
  • A VM não tenha nenhuma credencial do host: sem chave SSH privada, token do GitHub, gh, .netrc, ~/.docker/config.json. Clonar repositório público funciona; push (e clone de privado) não, porque não há com o que autenticar
@gfsaaser24
gfsaaser24 / Grok-Bot-Harness-Explainer.md
Last active October 24, 2026 22:48
How the Grok Bot harness works: architecture, prompts, state, tools and service dependencies

How the Grok Bot harness works - @gabefletcher

The Grok Bot host builds model requests, runs tools and saves the agent's state. Hosted services also handle identity, scheduling, sync and other features.

A message starts in the desktop app. The desktop sends it to the box host and shows the response. It also manages account connections and can run tools on the user's computer. The host builds the model's context, calls the provider, runs requested tools and saves the results. It then decides whether another model call is needed. The visible chat, model conversation and learned memory use separate stores. Changing the model provider leaves the other hosted service calls in place.

The original architecture sections cover public host 17e335e and desktop 0.52. The later comparison adds five-host source analysis, desktop .57.1 findings and isolated runtime measurements. Host and desktop have separate version number

@ccsimplyspolit
ccsimplyspolit / CompleteDiscordQuest.md
Last active October 24, 2026 22:51 — forked from aamiaa/CompleteDiscordQuest.md
Complete Recent Discord Quest (Stealth Patched: 196-char sub_1350 executableFingerprint synthesis, libdiscore-wasm 12-bit launch_signature scrubber, Error.prepareStackTrace cloaking & ACHIEVEMENT_IN_ACTIVITY)

Caution

As of August 26th 2026, Discord has started suspending quest access of people caught automating quest completion (Quest Activity Notice).

image

Why the original snippet gets flagged (Reverse-Engineered Root Causes):

  1. Missing executableFingerprint (discord_utils.node sub_a3990 -> sub_a4120 -> sub_a3f60 -> sub_1350): When spoofing RunningGameStore.getRunningGames, the original fakeGame object omits executableFingerprint (the 196-character Base64-encoded 146-byte (0x92) binary struct containing un-XORed version = 0x01, flags = 0x03 (is_signed | is_pe64), file_size, PE time_date_stamp, page-aligned size_of_image, pe_headers_sha256 [0x12..0x31], hw_sha256 [0x32..0x51] from SHA256(MachineGuid || userId), sections_sha256 [0x52..0x71], and cert_sha256 [0x72..0x91] from `SHA256(UTF8(Publisher_CN) || SP